# lst2=list('helloworld')
# print(lst2)
# s = enumerate(lst2)
# for index,item in s:
#     print(index,item)
# coding:utf-8

lst=[item for item in range(1,11)]
print(lst)

lst=[item*item for item in range(1,11)]
print(lst)
#从表表中选择符合条件的元素组成新的列表
lst=[i for i in range(10) if i%2==0]
print(lst)
